<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>upload</title>	
</head>
<body>
	<form action="index.php?r=Index.upload" method="post" enctype="multipart/form-data">
		<input type="file" name="file">
		<input type="submit" value="submit">
	</form>
	<?php if (isset($img)): ?>		
		<img src="<?php echo $img['path']; ?>" alt="">
	<?php endif ?>
</body>
</html>